const myRequest = require('../../tool/myRequest')


module.exports = {
  downloadFile(url = '') {
    // 下载html文件
    myRequest(url, {
      responseType: 'DownloadFile',
      outputFilePath: './src/pages/test.html'
    }).then(d => { console.log(`-----ok----`,) }).catch(e => { console.log(`e`, e) })

  }
}